package com.yztc.yidoutang.activity.daren_activity;

import com.yztc.yidoutang.bean.DaRenBean;
import com.yztc.yidoutang.bean.DaRenListBean;

import java.util.List;
import java.util.Map;

/**
 * Created by My on 2016/10/19.
 */

public class DaRenContract {
    public interface View{
        public void onDaRenSuccess(List<DaRenListBean> daRenListBeanList);
        public void onDaRenFail(String msg);
    };
    public interface Model{
        public void getDaRenData(Map<String,String> params,OnLoadDaRenListener loadDaRenListener);
    };
    public interface Presenter{
        public void getDataForNet();
    };
    public interface OnLoadDaRenListener{
        public void onSuccess(DaRenBean daRenBean);
        public void onFail(Exception e);
    };
}
